package user;

import book.Booklist;
import operation.IOoperation;

public abstract class User {
    protected String name;
    public IOoperation[] operations;
    public User(String name) {
        this.name = name;
    }
    public abstract int menu();
    public void dooperation(int choice, Booklist book){
        operations[choice].work(book);
    }
}
